/*
* @Author: Administrator
* @Date:   2017-10-31 15:21:01
* @Last Modified by:   Administrator
* @Last Modified time: 2018-01-04 09:20:48
*/
import { dle } from './fetch';
import { host } from '../util/costant';
// 删除文章
export default function deleteArticle(id, params = {}, header = {}) {
  const url = `${host}/posts/${id}`;
  const res = dle(url, params, header)
  return res;
}
